package com.lbd.system.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Lob;

/**
 * Created by WangYajie on 2016/9/12.
 * 事件日志
 */

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class EventLog extends AbstractEntity {

    String eventName;//VARCHAR(50) COMMENT '事件名称',
    @Lob
    String input;//TEXT COMMENT '输入参数',
    String result;//TEXT COMMENT '执行结果',
    String className;// VARCHAR(100) COMMENT '事件执行者',
    String eventNo;// CHAR(10) COMMENT '事件标识' );
}
